package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务文件关系业务对象 sys_business_oss
 *
 * @author zyb
 * @date 2024-07-18
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysBusinessOssBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 业务ID
     */
    @NotNull(message = "业务ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long businessId;

    /**
     * 附件ID
     */
    @NotNull(message = "附件ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long ossId;

    /**
     * 
     */
    private String moduleKey;

    /**
     * 排序
     */
    private Long sort;


}
